﻿<UserControl x:Class="ViewsAndViewModels.Views.AboutView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             ToolTip="Tyburn Consultancy, London"
            >
    <UserControl.Background>
        <LinearGradientBrush StartPoint="0,0.5" EndPoint="0.5, 1">
            <GradientStop Color="DarkSlateBlue" Offset="0"/>
            <GradientStop Color="DarkMagenta" Offset="0.1"/>
            <GradientStop Color="Navy" Offset="0.2"/>
            <GradientStop Color="Thistle" Offset="0.99"/>
        </LinearGradientBrush>
    </UserControl.Background>
    <UserControl.Resources>
        <ImageBrush x:Key="TyburnBackground" ImageSource="tyburn-400x300.png"></ImageBrush>
    </UserControl.Resources>
    <Grid Background="{StaticResource TyburnBackground}">
          <DockPanel Margin="50">
              <DockPanel.Resources>
                  <Style TargetType="TextBlock">
                      <Setter Property="FontWeight" Value="Bold"/>
                      <Setter Property="FontSize" Value="25"/>
                      <Setter Property="Foreground" Value="White"/>
                  </Style>
              </DockPanel.Resources>
              <Grid DockPanel.Dock="Top" HorizontalAlignment="Center">
                  <TextBlock Text="Password Generator" FontSize="24.5" Foreground="Yellow"/>
              </Grid>
              <TextBlock DockPanel.Dock="Top" Text="Version 201405" HorizontalAlignment="Center"/>
              <TextBlock DockPanel.Dock="Top" Text="With Prism 5.0" HorizontalAlignment="Center"/>
              <TextBlock DockPanel.Dock="Top" Text="And MOQ 4.2" HorizontalAlignment="Center"/>
              <Rectangle DockPanel.Dock="Top" Height="20"/>
              <Border DockPanel.Dock="Top" BorderBrush="Black" Padding="1" BorderThickness="2" Width="100">
                  <Button DockPanel.Dock="Top" 
                          Content="Ok" 
                          Command="{Binding OkCommand}"
                          ToolTip="Click to dismiss"
                          IsDefault="True"
                          IsCancel="True"
                          ForceCursor="True"
                          />
            </Border>
            <Rectangle DockPanel.Dock="Top" Height="1"/>
          </DockPanel>  
    </Grid>
</UserControl>
